import {createApp} from 'vue'
import './styles/index.css'
import App from './App.vue'
import {createPinia} from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


import router from "@/router";
import naive from 'naive-ui'
const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

const app = createApp(App)
app.use(router)
    .use(pinia)
    .use(naive)
    .mount('#app')



